package com.xpc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xpc.pojo.qin.AccountUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Qinkuer
 * @version 1.0.0
 * @ProjectName UniversityGradeAdministrationSystem
 * @ClassName AccountUserMapper.java
 * @Description acount表和user表的联合表,相关的请求,方法详细请移步对应的Service接口类
 * @createTime 2022年05月19日 12:05:00
 */
@Mapper
public interface AccountUserMapper extends BaseMapper<AccountUser> {
        Page<AccountUser> getPage(IPage<AccountUser> iPage);

//        不指定输入的参数名,会导致找不到accountId
        Page<AccountUser> searchByAccountId(IPage<AccountUser> iPage,@Param("accountId") String accountId);
}
